package myapp.com.phoneguard.pojo;

import myapp.com.phoneguard.view.FirstLetterUtil;

public class ContactModel {
    private String index;
    private String name;
    private String phonenumber;

    public ContactModel(String name, String phonenumber) {
        this.index = FirstLetterUtil.getFirstLetter(name);
        this.name = name;
        this.phonenumber = phonenumber;
    }

    public String getIndex() {
        return index;
    }

    public void setIndex(String index) {
        this.index = index;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhonenumber() {
        return phonenumber;
    }

    public void setPhonenumber(String phonenumber) {
        this.phonenumber = phonenumber;
    }


}
